<layout name="inner"/>
<load href="__PUBLIC__/Common/dist/additional-methods.min.js"/>

<p class="uk-text-bold">{$Think.lang.ip_limit}</p>
&nbsp;&nbsp;
 <form id="validate_form" class="uk-form"  method="post" action="__CONTROLLER__/addip">
<input type="text" name="ip" required ipv4="true" />
<button type="submit" class="uk-button uk-button-primary">{$Think.lang.add_new}</button>
</form>
</p>
<hr>
<ul class="uk-grid uk-grid-width-small-1-2  uk-grid-width-medium-1-3 uk-grid-width-large-1-4 uk-text-left" data-uk-grid-margin>
<volist name="ip_list" id="vo">
	<li><div class="uk-alert uk-alert-danger">{$vo.ip_value}<a href="__CONTROLLER__/deleteip/{$vo.ip_id}" class="uk-close uk-close-alt"></a></div></li>
</volist>	
</ul>

<p class="uk-text-bold">{$Think.lang.cn_limit}
&nbsp;&nbsp;
 <form  class="uk-form"  method="post" action="__CONTROLLER__/addcountry">
<select class="uk-width-medium-1-5 uk-width-small-1-1" name="country">
<volist name=":getObjectList('countries')" id="vo">
<option value="{$vo.countries_iso_code_2}">{$vo.countries_name}</option>
</volist>
</select>
<button type="submit" class="uk-button uk-button-primary">{$Think.lang.add_new}</button>
</form>
</p>
<hr>
<ul class="uk-grid uk-grid-width-small-1-2  uk-grid-width-medium-1-3 uk-grid-width-large-1-4 uk-text-left" data-uk-grid-margin>
<volist name="cn_list" id="vo">
	<li><div class="uk-alert uk-alert-danger">{$vo.countries_name}<a href="__CONTROLLER__/deleteip/{$vo.cn_id}" class="uk-close uk-close-alt"></a></div></li>
</volist>	
</ul>
<p>
</p>

<div class="uk-alert uk-alert-warning">
{$Think.lang.risk_tips}
</div>